<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #grid {
      display: grid;
      grid-template-columns: 1fr 2fr 3fr;
      grid-template-rows: 50px 100px;
      gap: 20px 30px;
      /* 这里高度为 170px，因为行加行距 50 + 100 + 20 */
      background-color: antiquewhite;
    }
  </style>
</head>
<body>
  <div id="grid"></div>
</body>
</html>